package c.h.a.z;

import android.widget.TextView;
import c.g.a.a.c;
import c.g.a.a.d;
import com.liuzh.deviceinfo.card.DeviceOverviewCard;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;

/* compiled from: lambda */
public final /* synthetic */ class h implements c {
    public final /* synthetic */ TextView a;
    public final /* synthetic */ TextView b;

    public /* synthetic */ h(TextView textView, TextView textView2) {
        this.a = textView;
        this.b = textView2;
    }

    public final void a(d dVar, Exception exception) {
        TextView textView = this.a;
        TextView textView2 = this.b;
        int i = DeviceOverviewCard.j;
        if (dVar != null && dVar.a() != null) {
            try {
                String decode = URLDecoder.decode(dVar.a().replace("\\x", "%"), "utf-8");
                textView.setText(decode);
                textView2.setText(decode);
            } catch (UnsupportedEncodingException unused) {
            }
        }
    }
}
